package team.tinavv.ssheasy.core.service;

import java.io.Serializable;
import java.util.List;

import team.tinavv.ssheasy.core.dao.BaseRepository;

public abstract class CoreService<T, PK extends Serializable> {

	protected abstract BaseRepository<T, PK> getDao();

	public List<T> findAll() {
		return getDao().findAll();
	}
}
